Phần mềm vẽ đồ thị C#
6.592 lượt xem;
- Main.Designer.cs
- project /
1 namespace VietGraph
2 {
3 partial class Main
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
32 this.lstExpressions = new System.Windows.Forms.ListBox();
33 this.txtExpression = new System.Windows.Forms.RichTextBox();
34 this.label1 = new System.Windows.Forms.Label();
35 this.btnAdd = new System.Windows.Forms.Button();
36 this.label2 = new System.Windows.Forms.Label();
37 this.btnClear = new System.Windows.Forms.Button();
38 this.btnRemove = new System.Windows.Forms.Button();
39 this.cmdPlotGraph = new System.Windows.Forms.Button();
40 this.label3 = new System.Windows.Forms.Label();
41 this.startX = new System.Windows.Forms.NumericUpDown();
42 this.endX = new System.Windows.Forms.NumericUpDown();
43 this.label4 = new System.Windows.Forms.Label();
44 this.endY = new System.Windows.Forms.NumericUpDown();
45 this.label5 = new System.Windows.Forms.Label();
46 this.startY = new System.Windows.Forms.NumericUpDown();
47 this.label6 = new System.Windows.Forms.Label();
48 this.divY = new System.Windows.Forms.NumericUpDown();
49 this.label7 = new System.Windows.Forms.Label();
50 this.divX = new System.Windows.Forms.NumericUpDown();
51 this.label8 = new System.Windows.Forms.Label();
52 this.label9 = new System.Windows.Forms.Label();
53 this.label10 = new System.Windows.Forms.Label();
54 this.sensitivity = new System.Windows.Forms.NumericUpDown();
55 this.mode = new System.Windows.Forms.ComboBox();
56 this.penWidth = new System.Windows.Forms.NumericUpDown();
57 this.label12 = new System.Windows.Forms.Label();
58 this.menuStrip1 = new System.Windows.Forms.MenuStrip();
59 this.hToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
60 this.absToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
61 this.sinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
62 this.cosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
63 this.tanToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
64 this.secToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
65 this.cosecToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
66 this.cotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
67 this.arcsinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
68 this.arccosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
69 this.arctanToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
70 this.expToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
71 this.lnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
72 this.logToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
73 this.antilogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
74 this.sqrtToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
75 this.sinhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
76 this.coshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
77 this.tanhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
78 this.arcsinhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
79 this.arccoshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
80 this.arctanhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
81 this.toánTửToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
82 this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
83 this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
84 this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
85 this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
86 this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
87 this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
88 this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
89 this.thôngTinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
90 this.tácGiảToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
91 ((System.ComponentModel.ISupportInitialize)(this.startX)).BeginInit();
92 ((System.ComponentModel.ISupportInitialize)(this.endX)).BeginInit();
93 ((System.ComponentModel.ISupportInitialize)(this.endY)).BeginInit();
94 ((System.ComponentModel.ISupportInitialize)(this.startY)).BeginInit();
95 ((System.ComponentModel.ISupportInitialize)(this.divY)).BeginInit();
96 ((System.ComponentModel.ISupportInitialize)(this.divX)).BeginInit();
97 ((System.ComponentModel.ISupportInitialize)(this.sensitivity)).BeginInit();
98 ((System.ComponentModel.ISupportInitialize)(this.penWidth)).BeginInit();
99 this.menuStrip1.SuspendLayout();
100 this.SuspendLayout();
101 //
102 // lstExpressions
103 //
104 this.lstExpressions.FormattingEnabled = true;
105 this.lstExpressions.HorizontalScrollbar = true;
106 this.lstExpressions.ItemHeight = 16;
107 this.lstExpressions.Location = new System.Drawing.Point(17, 113);
108 this.lstExpressions.Margin = new System.Windows.Forms.Padding(4);
109 this.lstExpressions.Name = "lstExpressions";
110 this.lstExpressions.Size = new System.Drawing.Size(392, 116);
111 this.lstExpressions.TabIndex = 2;
112 this.lstExpressions.SelectedIndexChanged += new System.EventHandler(this.lstExpressions_SelectedIndexChanged);
113 //
114 // txtExpression
115 //
116 this.txtExpression.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
117 this.txtExpression.Location = new System.Drawing.Point(17, 55);
118 this.txtExpression.Margin = new System.Windows.Forms.Padding(4);
119 this.txtExpression.Multiline = false;
120 this.txtExpression.Name = "txtExpression";
121 this.txtExpression.Size = new System.Drawing.Size(303, 22);
122 this.txtExpression.TabIndex = 0;
123 this.txtExpression.Text = "";
124 this.txtExpression.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtExpression_KeyPress);
125 this.txtExpression.TextChanged += new System.EventHandler(this.txtExpression_TextChanged);
126 //
127 // label1
128 //
129 this.label1.AutoSize = true;
130 this.label1.Location = new System.Drawing.Point(13, 36);
131 this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
132 this.label1.Name = "label1";
133 this.label1.Size = new System.Drawing.Size(198, 16);
134 this.label1.TabIndex = 2;
135 this.label1.Text = "Hãy điền vào ô trống 1 biểu thức";
136 //
137 // btnAdd
138 //
139 this.btnAdd.Location = new System.Drawing.Point(329, 52);
140 this.btnAdd.Margin = new System.Windows.Forms.Padding(4);
141 this.btnAdd.Name = "btnAdd";
142 this.btnAdd.Size = new System.Drawing.Size(81, 27);
143 this.btnAdd.TabIndex = 1;
144 this.btnAdd.Text = "Thêm";
145 this.btnAdd.UseVisualStyleBackColor = true;
146 this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
147 //
148 // label2
149 //
150 this.label2.AutoSize = true;
151 this.label2.Location = new System.Drawing.Point(13, 93);
152 this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
153 this.label2.Name = "label2";
154 this.label2.Size = new System.Drawing.Size(139, 16);
155 this.label2.TabIndex = 4;
156 this.label2.Text = "Những biểu thức sẽ vẽ";
157 //
158 // btnClear
159 //
160 this.btnClear.Location = new System.Drawing.Point(17, 237);
161 this.btnClear.Margin = new System.Windows.Forms.Padding(4);
162 this.btnClear.Name = "btnClear";
163 this.btnClear.Size = new System.Drawing.Size(135, 27);
164 this.btnClear.TabIndex = 3;
165 this.btnClear.Text = "Xóa danh sách";
166 this.btnClear.UseVisualStyleBackColor = true;
167 this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
168 //
169 // btnRemove
170 //
171 this.btnRemove.Location = new System.Drawing.Point(274, 237);
172 this.btnRemove.Margin = new System.Windows.Forms.Padding(4);
173 this.btnRemove.Name = "btnRemove";
174 this.btnRemove.Size = new System.Drawing.Size(135, 27);
175 this.btnRemove.TabIndex = 4;
176 this.btnRemove.Text = "Xóa biểu thức";
177 this.btnRemove.UseVisualStyleBackColor = true;
178 this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
179 //
180 // cmdPlotGraph
181 //
182 this.cmdPlotGraph.Location = new System.Drawing.Point(161, 461);
183 this.cmdPlotGraph.Margin = new System.Windows.Forms.Padding(4);
184 this.cmdPlotGraph.Name = "cmdPlotGraph";
185 this.cmdPlotGraph.Size = new System.Drawing.Size(104, 27);
186 this.cmdPlotGraph.TabIndex = 13;
187 this.cmdPlotGraph.Text = "Vẽ đồ thị";
188 this.cmdPlotGraph.UseVisualStyleBackColor = true;
189 this.cmdPlotGraph.Click += new System.EventHandler(this.cmdPlotGraph_Click);
190 //
191 // label3
192 //
193 this.label3.AutoSize = true;
194 this.label3.Location = new System.Drawing.Point(13, 293);
195 this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
196 this.label3.Name = "label3";
197 this.label3.Size = new System.Drawing.Size(100, 16);
198 this.label3.TabIndex = 8;
199 this.label3.Text = "Điểm đầu trục X";
200 //
201 // startX
202 //
203 this.startX.DecimalPlaces = 2;
204 this.startX.Location = new System.Drawing.Point(118, 288);
205 this.startX.Margin = new System.Windows.Forms.Padding(4);
206 this.startX.Maximum = new decimal(new int[] {
207 1000,
208 0,
209 0,
210 0});
211 this.startX.Minimum = new decimal(new int[] {
212 1000,
213 0,
214 0,
215 -2147483648});
216 this.startX.Name = "startX";
217 this.startX.Size = new System.Drawing.Size(81, 22);
218 this.startX.TabIndex = 5;
219 this.startX.Value = new decimal(new int[] {
220 8,
221 0,
222 0,
223 -2147483648});
224 //
225 // endX
226 //
227 this.endX.DecimalPlaces = 2;
228 this.endX.Location = new System.Drawing.Point(329, 288);
229 this.endX.Margin = new System.Windows.Forms.Padding(4);
230 this.endX.Maximum = new decimal(new int[] {
231 1000,
232 0,
233 0,
234 0});
235 this.endX.Minimum = new decimal(new int[] {
236 1000,
237 0,
238 0,
239 -2147483648});
240 this.endX.Name = "endX";
241 this.endX.Size = new System.Drawing.Size(81, 22);
242 this.endX.TabIndex = 6;
243 this.endX.Value = new decimal(new int[] {
244 8,
245 0,
246 0,
247 0});
248 //
249 // label4
250 //
251 this.label4.AutoSize = true;
252 this.label4.Location = new System.Drawing.Point(217, 293);
253 this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
254 this.label4.Name = "label4";
255 this.label4.Size = new System.Drawing.Size(102, 16);
256 this.label4.TabIndex = 11;
257 this.label4.Text = "Điểm cuối trục X";
258 //
259 // endY
260 //
261 this.endY.DecimalPlaces = 2;
262 this.endY.Location = new System.Drawing.Point(329, 319);
263 this.endY.Margin = new System.Windows.Forms.Padding(4);
264 this.endY.Maximum = new decimal(new int[] {
265 1000,
266 0,
267 0,
268 0});
269 this.endY.Minimum = new decimal(new int[] {
270 1000,
271 0,
272 0,
273 -2147483648});
274 this.endY.Name = "endY";
275 this.endY.Size = new System.Drawing.Size(81, 22);
276 this.endY.TabIndex = 8;
277 this.endY.Value = new decimal(new int[] {
278 8,
279 0,
280 0,
281 0});
282 //
283 // label5
284 //
285 this.label5.AutoSize = true;
286 this.label5.Location = new System.Drawing.Point(217, 324);
287 this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
288 this.label5.Name = "label5";
289 this.label5.Size = new System.Drawing.Size(103, 16);
290 this.label5.TabIndex = 15;
291 this.label5.Text = "Điểm cuối trục Y";
292 //
293 // startY
294 //
295 this.startY.DecimalPlaces = 2;
296 this.startY.Location = new System.Drawing.Point(118, 319);
297 this.startY.Margin = new System.Windows.Forms.Padding(4);
298 this.startY.Maximum = new decimal(new int[] {
299 1000,
300 0,
301 0,
302 0});
303 this.startY.Minimum = new decimal(new int[] {
304 1000,
305 0,
306 0,
307 -2147483648});
308 this.startY.Name = "startY";
309 this.startY.Size = new System.Drawing.Size(81, 22);
310 this.startY.TabIndex = 7;
311 this.startY.Value = new decimal(new int[] {
312 8,
313 0,
314 0,
315 -2147483648});
316 //
317 // label6
318 //
319 this.label6.AutoSize = true;
320 this.label6.Location = new System.Drawing.Point(13, 324);
321 this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
322 this.label6.Name = "label6";
323 this.label6.Size = new System.Drawing.Size(101, 16);
324 this.label6.TabIndex = 13;
325 this.label6.Text = "Điểm đầu trục Y";
326 //
327 // divY
328 //
329 this.divY.Location = new System.Drawing.Point(329, 349);
330 this.divY.Margin = new System.Windows.Forms.Padding(4);
331 this.divY.Maximum = new decimal(new int[] {
332 20,
333 0,
334 0,
335 0});
336 this.divY.Minimum = new decimal(new int[] {
337 2,
338 0,
339 0,
340 0});
341 this.divY.Name = "divY";
342 this.divY.Size = new System.Drawing.Size(81, 22);
343 this.divY.TabIndex = 10;
344 this.divY.Value = new decimal(new int[] {
345 8,
346 0,
347 0,
348 0});
349 //
350 // label7
351 //
352 this.label7.AutoSize = true;
353 this.label7.Location = new System.Drawing.Point(217, 354);
354 this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
355 this.label7.Name = "label7";
356 this.label7.Size = new System.Drawing.Size(74, 16);
357 this.label7.TabIndex = 19;
358 this.label7.Text = "Tỷ lệ trục Y";
359 //
360 // divX
361 //
362 this.divX.Location = new System.Drawing.Point(118, 349);
363 this.divX.Margin = new System.Windows.Forms.Padding(4);
364 this.divX.Maximum = new decimal(new int[] {
365 20,
366 0,
367 0,
368 0});
369 this.divX.Minimum = new decimal(new int[] {
370 2,
371 0,
372 0,
373 0});
374 this.divX.Name = "divX";
375 this.divX.Size = new System.Drawing.Size(81, 22);
376 this.divX.TabIndex = 9;
377 this.divX.Value = new decimal(new int[] {
378 8,
379 0,
380 0,
381 0});
382 //
383 // label8
384 //
385 this.label8.AutoSize = true;
386 this.label8.Location = new System.Drawing.Point(13, 354);
387 this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
388 this.label8.Name = "label8";
389 this.label8.Size = new System.Drawing.Size(73, 16);
390 this.label8.TabIndex = 17;
391 this.label8.Text = "Tỷ lệ trục X";
392 //
393 // label9
394 //
395 this.label9.AutoSize = true;
396 this.label9.Location = new System.Drawing.Point(217, 385);
397 this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
398 this.label9.Name = "label9";
399 this.label9.Size = new System.Drawing.Size(91, 16);
400 this.label9.TabIndex = 21;
401 this.label9.Text = "Độ nhạy polar";
402 //
403 // label10
404 //
405 this.label10.AutoSize = true;
406 this.label10.Location = new System.Drawing.Point(13, 420);
407 this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
408 this.label10.Name = "label10";
409 this.label10.Size = new System.Drawing.Size(51, 16);
410 this.label10.TabIndex = 22;
411 this.label10.Text = "Chế độ";
412 //
413 // sensitivity
414 //
415 this.sensitivity.Enabled = false;
416 this.sensitivity.Increment = new decimal(new int[] {
417 50,
418 0,
419 0,
420 0});
421 this.sensitivity.Location = new System.Drawing.Point(329, 380);
422 this.sensitivity.Margin = new System.Windows.Forms.Padding(4);
423 this.sensitivity.Maximum = new decimal(new int[] {
424 1000,
425 0,
426 0,
427 0});
428 this.sensitivity.Minimum = new decimal(new int[] {
429 50,
430 0,
431 0,
432 0});
433 this.sensitivity.Name = "sensitivity";
434 this.sensitivity.Size = new System.Drawing.Size(81, 22);
435 this.sensitivity.TabIndex = 12;
436 this.sensitivity.Value = new decimal(new int[] {
437 50,
438 0,
439 0,
440 0});
441 //
442 // mode
443 //
444 this.mode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
445 this.mode.FormattingEnabled = true;
446 this.mode.Items.AddRange(new object[] {
447 "Cartesian",
448 "Polar"});
449 this.mode.Location = new System.Drawing.Point(118, 415);
450 this.mode.Margin = new System.Windows.Forms.Padding(4);
451 this.mode.Name = "mode";
452 this.mode.Size = new System.Drawing.Size(291, 24);
453 this.mode.TabIndex = 11;
454 this.mode.SelectedIndexChanged += new System.EventHandler(this.mode_SelectedIndexChanged);
455 //
456 // penWidth
457 //
458 this.penWidth.Location = new System.Drawing.Point(118, 380);
459 this.penWidth.Margin = new System.Windows.Forms.Padding(4);
460 this.penWidth.Maximum = new decimal(new int[] {
461 5,
462 0,
463 0,
464 0});
465 this.penWidth.Minimum = new decimal(new int[] {
466 1,
467 0,
468 0,
469 0});
470 this.penWidth.Name = "penWidth";
471 this.penWidth.Size = new System.Drawing.Size(81, 22);
472 this.penWidth.TabIndex = 26;
473 this.penWidth.Value = new decimal(new int[] {
474 2,
475 0,
476 0,
477 0});
478 //
479 // label12
480 //
481 this.label12.AutoSize = true;
482 this.label12.Location = new System.Drawing.Point(13, 385);
483 this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
484 this.label12.Name = "label12";
485 this.label12.Size = new System.Drawing.Size(94, 16);
486 this.label12.TabIndex = 27;
487 this.label12.Text = "Bề rộng nét vẽ";
488 //
489 // menuStrip1
490 //
491 this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
492 this.hToolStripMenuItem,
493 this.toánTửToolStripMenuItem,
494 this.thôngTinToolStripMenuItem});
495 this.menuStrip1.Location = new System.Drawing.Point(0, 0);
496 this.menuStrip1.Name = "menuStrip1";
497 this.menuStrip1.Size = new System.Drawing.Size(429, 24);
498 this.menuStrip1.TabIndex = 29;
499 this.menuStrip1.Text = "menuStrip1";
500 //
501 // hToolStripMenuItem
502 //
503 this.hToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
504 this.absToolStripMenuItem,
505 this.sinToolStripMenuItem,
506 this.cosToolStripMenuItem,
507 this.tanToolStripMenuItem,
508 this.secToolStripMenuItem,
509 this.cosecToolStripMenuItem,
510 this.cotToolStripMenuItem,
511 this.arcsinToolStripMenuItem,
512 this.arccosToolStripMenuItem,
513 this.arctanToolStripMenuItem,
514 this.expToolStripMenuItem,
515 this.lnToolStripMenuItem,
516 this.logToolStripMenuItem,
517 this.antilogToolStripMenuItem,
518 this.sqrtToolStripMenuItem,
519 this.sinhToolStripMenuItem,
520 this.coshToolStripMenuItem,
521 this.tanhToolStripMenuItem,
522 this.arcsinhToolStripMenuItem,
523 this.arccoshToolStripMenuItem,
524 this.arctanhToolStripMenuItem});
525 this.hToolStripMenuItem.Name = "hToolStripMenuItem";
526 this.hToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
527 this.hToolStripMenuItem.Text = "Hàm số";
528 //
529 // absToolStripMenuItem
530 //
531 this.absToolStripMenuItem.Name = "absToolStripMenuItem";
532 this.absToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
533 this.absToolStripMenuItem.Text = "abs";
534 this.absToolStripMenuItem.Click += new System.EventHandler(this.absToolStripMenuItem_Click);
535 //
536 // sinToolStripMenuItem
537 //
538 this.sinToolStripMenuItem.Name = "sinToolStripMenuItem";
539 this.sinToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
540 this.sinToolStripMenuItem.Text = "sin";
541 this.sinToolStripMenuItem.Click += new System.EventHandler(this.sinToolStripMenuItem_Click);
542 //
543 // cosToolStripMenuItem
544 //
545 this.cosToolStripMenuItem.Name = "cosToolStripMenuItem";
546 this.cosToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
547 this.cosToolStripMenuItem.Text = "cos";
548 this.cosToolStripMenuItem.Click += new System.EventHandler(this.cosToolStripMenuItem_Click);
549 //
550 // tanToolStripMenuItem
551 //
552 this.tanToolStripMenuItem.Name = "tanToolStripMenuItem";
553 this.tanToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
554 this.tanToolStripMenuItem.Text = "tan";
555 this.tanToolStripMenuItem.Click += new System.EventHandler(this.tanToolStripMenuItem_Click);
556 //
557 // secToolStripMenuItem
558 //
559 this.secToolStripMenuItem.Name = "secToolStripMenuItem";
560 this.secToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
561 this.secToolStripMenuItem.Text = "sec";
562 this.secToolStripMenuItem.Click += new System.EventHandler(this.secToolStripMenuItem_Click);
563 //
564 // cosecToolStripMenuItem
565 //
566 this.cosecToolStripMenuItem.Name = "cosecToolStripMenuItem";
567 this.cosecToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
568 this.cosecToolStripMenuItem.Text = "cosec";
569 this.cosecToolStripMenuItem.Click += new System.EventHandler(this.cosecToolStripMenuItem_Click);
570 //
571 // cotToolStripMenuItem
572 //
573 this.cotToolStripMenuItem.Name = "cotToolStripMenuItem";
574 this.cotToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
575 this.cotToolStripMenuItem.Text = "cot";
576 this.cotToolStripMenuItem.Click += new System.EventHandler(this.cotToolStripMenuItem_Click);
577 //
578 // arcsinToolStripMenuItem
579 //
580 this.arcsinToolStripMenuItem.Name = "arcsinToolStripMenuItem";
581 this.arcsinToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
582 this.arcsinToolStripMenuItem.Text = "arcsin";
583 this.arcsinToolStripMenuItem.Click += new System.EventHandler(this.arcsinToolStripMenuItem_Click);
584 //
585 // arccosToolStripMenuItem
586 //
587 this.arccosToolStripMenuItem.Name = "arccosToolStripMenuItem";
588 this.arccosToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
589 this.arccosToolStripMenuItem.Text = "arccos";
590 this.arccosToolStripMenuItem.Click += new System.EventHandler(this.arccosToolStripMenuItem_Click);
591 //
592 // arctanToolStripMenuItem
593 //
594 this.arctanToolStripMenuItem.Name = "arctanToolStripMenuItem";
595 this.arctanToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
596 this.arctanToolStripMenuItem.Text = "arctan";
597 this.arctanToolStripMenuItem.Click += new System.EventHandler(this.arctanToolStripMenuItem_Click);
598 //
599 // expToolStripMenuItem
600 //
601 this.expToolStripMenuItem.Name = "expToolStripMenuItem";
602 this.expToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
603 this.expToolStripMenuItem.Text = "exp";
604 this.expToolStripMenuItem.Click += new System.EventHandler(this.expToolStripMenuItem_Click);
605 //
606 // lnToolStripMenuItem
607 //
608 this.lnToolStripMenuItem.Name = "lnToolStripMenuItem";
609 this.lnToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
610 this.lnToolStripMenuItem.Text = "ln";
611 this.lnToolStripMenuItem.Click += new System.EventHandler(this.lnToolStripMenuItem_Click);
612 //
613 // logToolStripMenuItem
614 //
615 this.logToolStripMenuItem.Name = "logToolStripMenuItem";
616 this.logToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
617 this.logToolStripMenuItem.Text = "log";
618 this.logToolStripMenuItem.Click += new System.EventHandler(this.logToolStripMenuItem_Click);
619 //
620 // antilogToolStripMenuItem
621 //
622 this.antilogToolStripMenuItem.Name = "antilogToolStripMenuItem";
623 this.antilogToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
624 this.antilogToolStripMenuItem.Text = "antilog";
625 this.antilogToolStripMenuItem.Click += new System.EventHandler(this.antilogToolStripMenuItem_Click);
626 //
627 // sqrtToolStripMenuItem
628 //
629 this.sqrtToolStripMenuItem.Name = "sqrtToolStripMenuItem";
630 this.sqrtToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
631 this.sqrtToolStripMenuItem.Text = "sqrt";
632 this.sqrtToolStripMenuItem.Click += new System.EventHandler(this.sqrtToolStripMenuItem_Click);
633 //
634 // sinhToolStripMenuItem
635 //
636 this.sinhToolStripMenuItem.Name = "sinhToolStripMenuItem";
637 this.sinhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
638 this.sinhToolStripMenuItem.Text = "sinh";
639 this.sinhToolStripMenuItem.Click += new System.EventHandler(this.sinhToolStripMenuItem_Click);
640 //
641 // coshToolStripMenuItem
642 //
643 this.coshToolStripMenuItem.Name = "coshToolStripMenuItem";
644 this.coshToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
645 this.coshToolStripMenuItem.Text = "cosh";
646 this.coshToolStripMenuItem.Click += new System.EventHandler(this.coshToolStripMenuItem_Click);
647 //
648 // tanhToolStripMenuItem
649 //
650 this.tanhToolStripMenuItem.Name = "tanhToolStripMenuItem";
651 this.tanhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
652 this.tanhToolStripMenuItem.Text = "tanh";
653 this.tanhToolStripMenuItem.Click += new System.EventHandler(this.tanhToolStripMenuItem_Click);
654 //
655 // arcsinhToolStripMenuItem
656 //
657 this.arcsinhToolStripMenuItem.Name = "arcsinhToolStripMenuItem";
658 this.arcsinhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
659 this.arcsinhToolStripMenuItem.Text = "arcsinh";
660 this.arcsinhToolStripMenuItem.Click += new System.EventHandler(this.arcsinhToolStripMenuItem_Click);
661 //
662 // arccoshToolStripMenuItem
663 //
664 this.arccoshToolStripMenuItem.Name = "arccoshToolStripMenuItem";
665 this.arccoshToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
666 this.arccoshToolStripMenuItem.Text = "arccosh";
667 this.arccoshToolStripMenuItem.Click += new System.EventHandler(this.arccoshToolStripMenuItem_Click);
668 //
669 // arctanhToolStripMenuItem
670 //
671 this.arctanhToolStripMenuItem.Name = "arctanhToolStripMenuItem";
672 this.arctanhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
673 this.arctanhToolStripMenuItem.Text = "arctanh";
674 this.arctanhToolStripMenuItem.Click += new System.EventHandler(this.arctanhToolStripMenuItem_Click);
675 //
676 // toánTửToolStripMenuItem
677 //
678 this.toánTửToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
679 this.toolStripMenuItem2,
680 this.toolStripMenuItem3,
681 this.toolStripMenuItem4,
682 this.toolStripMenuItem5,
683 this.toolStripMenuItem6,
684 this.toolStripMenuItem7,
685 this.toolStripMenuItem8});
686 this.toánTửToolStripMenuItem.Name = "toánTửToolStripMenuItem";
687 this.toánTửToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
688 this.toánTửToolStripMenuItem.Text = "Toán tử";
689 //
690 // toolStripMenuItem2
691 //
692 this.toolStripMenuItem2.Name = "toolStripMenuItem2";
693 this.toolStripMenuItem2.Size = new System.Drawing.Size(93, 22);
694 this.toolStripMenuItem2.Text = "+";
695 this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
696 //
697 // toolStripMenuItem3
698 //
699 this.toolStripMenuItem3.Name = "toolStripMenuItem3";
700 this.toolStripMenuItem3.Size = new System.Drawing.Size(93, 22);
701 this.toolStripMenuItem3.Text = "--";
702 this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
703 //
704 // toolStripMenuItem4
705 //
706 this.toolStripMenuItem4.Name = "toolStripMenuItem4";
707 this.toolStripMenuItem4.Size = new System.Drawing.Size(93, 22);
708 this.toolStripMenuItem4.Text = "*";
709 this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click);
710 //
711 // toolStripMenuItem5
712 //
713 this.toolStripMenuItem5.Name = "toolStripMenuItem5";
714 this.toolStripMenuItem5.Size = new System.Drawing.Size(93, 22);
715 this.toolStripMenuItem5.Text = "/";
716 this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click);
717 //
718 // toolStripMenuItem6
719 //
720 this.toolStripMenuItem6.Name = "toolStripMenuItem6";
721 this.toolStripMenuItem6.Size = new System.Drawing.Size(93, 22);
722 this.toolStripMenuItem6.Text = "^";
723 this.toolStripMenuItem6.Click += new System.EventHandler(this.toolStripMenuItem6_Click);
724 //
725 // toolStripMenuItem7
726 //
727 this.toolStripMenuItem7.Name = "toolStripMenuItem7";
728 this.toolStripMenuItem7.Size = new System.Drawing.Size(93, 22);
729 this.toolStripMenuItem7.Text = "(";
730 this.toolStripMenuItem7.Click += new System.EventHandler(this.toolStripMenuItem7_Click);
731 //
732 // toolStripMenuItem8
733 //
734 this.toolStripMenuItem8.Name = "toolStripMenuItem8";
735 this.toolStripMenuItem8.Size = new System.Drawing.Size(93, 22);
736 this.toolStripMenuItem8.Text = ")";
737 this.toolStripMenuItem8.Click += new System.EventHandler(this.toolStripMenuItem8_Click);
738 //
739 // thôngTinToolStripMenuItem
740 //
741 this.thôngTinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
742 this.tácGiảToolStripMenuItem});
743 this.thôngTinToolStripMenuItem.Name = "thôngTinToolStripMenuItem";
744 this.thôngTinToolStripMenuItem.Size = new System.Drawing.Size(64, 20);
745 this.thôngTinToolStripMenuItem.Text = "Thông tin";
746 //
747 // tácGiảToolStripMenuItem
748 //
749 this.tácGiảToolStripMenuItem.Name = "tácGiảToolStripMenuItem";
750 this.tácGiảToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
751 this.tácGiảToolStripMenuItem.Text = "Tác giả";
752 this.tácGiảToolStripMenuItem.Click += new System.EventHandler(this.tácGiảToolStripMenuItem_Click);
753 //
754 // Main
755 //
756 this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
757 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
758 this.ClientSize = new System.Drawing.Size(429, 501);
759 this.Controls.Add(this.penWidth);
760 this.Controls.Add(this.label12);
761 this.Controls.Add(this.mode);
762 this.Controls.Add(this.sensitivity);
763 this.Controls.Add(this.label10);
764 this.Controls.Add(this.label9);
765 this.Controls.Add(this.divY);
766 this.Controls.Add(this.label7);
767 this.Controls.Add(this.divX);
768 this.Controls.Add(this.label8);
769 this.Controls.Add(this.endY);
770 this.Controls.Add(this.label5);
771 this.Controls.Add(this.startY);
772 this.Controls.Add(this.label6);
773 this.Controls.Add(this.endX);
774 this.Controls.Add(this.label4);
775 this.Controls.Add(this.startX);
776 this.Controls.Add(this.label3);
777 this.Controls.Add(this.cmdPlotGraph);
778 this.Controls.Add(this.btnRemove);
779 this.Controls.Add(this.btnClear);
780 this.Controls.Add(this.label2);
781 this.Controls.Add(this.btnAdd);
782 this.Controls.Add(this.label1);
783 this.Controls.Add(this.txtExpression);
784 this.Controls.Add(this.lstExpressions);
785 this.Controls.Add(this.menuStrip1);
786 this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
787 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
788 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
789 this.MainMenuStrip = this.menuStrip1;
790 this.Margin = new System.Windows.Forms.Padding(4);
791 this.MaximizeBox = false;
792 this.Name = "Main";
793 this.Text = "VietGraph 1.2";
794 this.Load += new System.EventHandler(this.Form1_Load);
795 ((System.ComponentModel.ISupportInitialize)(this.startX)).EndInit();
796 ((System.ComponentModel.ISupportInitialize)(this.endX)).EndInit();
797 ((System.ComponentModel.ISupportInitialize)(this.endY)).EndInit();
798 ((System.ComponentModel.ISupportInitialize)(this.startY)).EndInit();
799 ((System.ComponentModel.ISupportInitialize)(this.divY)).EndInit();
800 ((System.ComponentModel.ISupportInitialize)(this.divX)).EndInit();
801 ((System.ComponentModel.ISupportInitialize)(this.sensitivity)).EndInit();
802 ((System.ComponentModel.ISupportInitialize)(this.penWidth)).EndInit();
803 this.menuStrip1.ResumeLayout(false);
804 this.menuStrip1.PerformLayout();
805 this.ResumeLayout(false);
806 this.PerformLayout();
807
808 }
809
810 #endregion
811
812 public System.Windows.Forms.ListBox lstExpressions;
813 private System.Windows.Forms.RichTextBox txtExpression;
814 private System.Windows.Forms.Label label1;
815 private System.Windows.Forms.Button btnAdd;
816 private System.Windows.Forms.Label label2;
817 private System.Windows.Forms.Button btnClear;
818 private System.Windows.Forms.Button btnRemove;
819 private System.Windows.Forms.Button cmdPlotGraph;
820 private System.Windows.Forms.Label label3;
821 private System.Windows.Forms.NumericUpDown startX;
822 private System.Windows.Forms.NumericUpDown endX;
823 private System.Windows.Forms.Label label4;
824 private System.Windows.Forms.NumericUpDown endY;
825 private System.Windows.Forms.Label label5;
826 private System.Windows.Forms.NumericUpDown startY;
827 private System.Windows.Forms.Label label6;
828 private System.Windows.Forms.NumericUpDown divY;
829 private System.Windows.Forms.Label label7;
830 private System.Windows.Forms.NumericUpDown divX;
831 private System.Windows.Forms.Label label8;
832 private System.Windows.Forms.Label label9;
833 private System.Windows.Forms.Label label10;
834 private System.Windows.Forms.NumericUpDown sensitivity;
835 private System.Windows.Forms.ComboBox mode;
836 private System.Windows.Forms.NumericUpDown penWidth;
837 private System.Windows.Forms.Label label12;
838 private System.Windows.Forms.MenuStrip menuStrip1;
839 private System.Windows.Forms.ToolStripMenuItem hToolStripMenuItem;
840 private System.Windows.Forms.ToolStripMenuItem toánTửToolStripMenuItem;
841 private System.Windows.Forms.ToolStripMenuItem absToolStripMenuItem;
842 private System.Windows.Forms.ToolStripMenuItem sinToolStripMenuItem;
843 private System.Windows.Forms.ToolStripMenuItem cosToolStripMenuItem;
844 private System.Windows.Forms.ToolStripMenuItem tanToolStripMenuItem;
845 private System.Windows.Forms.ToolStripMenuItem secToolStripMenuItem;
846 private System.Windows.Forms.ToolStripMenuItem cosecToolStripMenuItem;
847 private System.Windows.Forms.ToolStripMenuItem cotToolStripMenuItem;
848 private System.Windows.Forms.ToolStripMenuItem arcsinToolStripMenuItem;
849 private System.Windows.Forms.ToolStripMenuItem arccosToolStripMenuItem;
850 private System.Windows.Forms.ToolStripMenuItem arctanToolStripMenuItem;
851 private System.Windows.Forms.ToolStripMenuItem expToolStripMenuItem;
852 private System.Windows.Forms.ToolStripMenuItem lnToolStripMenuItem;
853 private System.Windows.Forms.ToolStripMenuItem logToolStripMenuItem;
854 private System.Windows.Forms.ToolStripMenuItem antilogToolStripMenuItem;
855 private System.Windows.Forms.ToolStripMenuItem sqrtToolStripMenuItem;
856 private System.Windows.Forms.ToolStripMenuItem sinhToolStripMenuItem;
857 private System.Windows.Forms.ToolStripMenuItem coshToolStripMenuItem;
858 private System.Windows.Forms.ToolStripMenuItem tanhToolStripMenuItem;
859 private System.Windows.Forms.ToolStripMenuItem arcsinhToolStripMenuItem;
860 private System.Windows.Forms.ToolStripMenuItem arccoshToolStripMenuItem;
861 private System.Windows.Forms.ToolStripMenuItem arctanhToolStripMenuItem;
862 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
863 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
864 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4;
865 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5;
866 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem6;
867 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem7;
868 private System.Windows.Forms.ToolStripMenuItem thôngTinToolStripMenuItem;
869 private System.Windows.Forms.ToolStripMenuItem tácGiảToolStripMenuItem;
870 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem8;
871
872 }
873 }
2 {
3 partial class Main
4 {
5 /// <summary>
6 /// Required designer variable.
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// Clean up any resources being used.
12 /// </summary>
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows Form Designer generated code
24
25 /// <summary>
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
28 /// </summary>
29 private void InitializeComponent()
30 {
31 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Main));
32 this.lstExpressions = new System.Windows.Forms.ListBox();
33 this.txtExpression = new System.Windows.Forms.RichTextBox();
34 this.label1 = new System.Windows.Forms.Label();
35 this.btnAdd = new System.Windows.Forms.Button();
36 this.label2 = new System.Windows.Forms.Label();
37 this.btnClear = new System.Windows.Forms.Button();
38 this.btnRemove = new System.Windows.Forms.Button();
39 this.cmdPlotGraph = new System.Windows.Forms.Button();
40 this.label3 = new System.Windows.Forms.Label();
41 this.startX = new System.Windows.Forms.NumericUpDown();
42 this.endX = new System.Windows.Forms.NumericUpDown();
43 this.label4 = new System.Windows.Forms.Label();
44 this.endY = new System.Windows.Forms.NumericUpDown();
45 this.label5 = new System.Windows.Forms.Label();
46 this.startY = new System.Windows.Forms.NumericUpDown();
47 this.label6 = new System.Windows.Forms.Label();
48 this.divY = new System.Windows.Forms.NumericUpDown();
49 this.label7 = new System.Windows.Forms.Label();
50 this.divX = new System.Windows.Forms.NumericUpDown();
51 this.label8 = new System.Windows.Forms.Label();
52 this.label9 = new System.Windows.Forms.Label();
53 this.label10 = new System.Windows.Forms.Label();
54 this.sensitivity = new System.Windows.Forms.NumericUpDown();
55 this.mode = new System.Windows.Forms.ComboBox();
56 this.penWidth = new System.Windows.Forms.NumericUpDown();
57 this.label12 = new System.Windows.Forms.Label();
58 this.menuStrip1 = new System.Windows.Forms.MenuStrip();
59 this.hToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
60 this.absToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
61 this.sinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
62 this.cosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
63 this.tanToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
64 this.secToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
65 this.cosecToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
66 this.cotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
67 this.arcsinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
68 this.arccosToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
69 this.arctanToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
70 this.expToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
71 this.lnToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
72 this.logToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
73 this.antilogToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
74 this.sqrtToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
75 this.sinhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
76 this.coshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
77 this.tanhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
78 this.arcsinhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
79 this.arccoshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
80 this.arctanhToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
81 this.toánTửToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
82 this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
83 this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
84 this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
85 this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
86 this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
87 this.toolStripMenuItem7 = new System.Windows.Forms.ToolStripMenuItem();
88 this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
89 this.thôngTinToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
90 this.tácGiảToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
91 ((System.ComponentModel.ISupportInitialize)(this.startX)).BeginInit();
92 ((System.ComponentModel.ISupportInitialize)(this.endX)).BeginInit();
93 ((System.ComponentModel.ISupportInitialize)(this.endY)).BeginInit();
94 ((System.ComponentModel.ISupportInitialize)(this.startY)).BeginInit();
95 ((System.ComponentModel.ISupportInitialize)(this.divY)).BeginInit();
96 ((System.ComponentModel.ISupportInitialize)(this.divX)).BeginInit();
97 ((System.ComponentModel.ISupportInitialize)(this.sensitivity)).BeginInit();
98 ((System.ComponentModel.ISupportInitialize)(this.penWidth)).BeginInit();
99 this.menuStrip1.SuspendLayout();
100 this.SuspendLayout();
101 //
102 // lstExpressions
103 //
104 this.lstExpressions.FormattingEnabled = true;
105 this.lstExpressions.HorizontalScrollbar = true;
106 this.lstExpressions.ItemHeight = 16;
107 this.lstExpressions.Location = new System.Drawing.Point(17, 113);
108 this.lstExpressions.Margin = new System.Windows.Forms.Padding(4);
109 this.lstExpressions.Name = "lstExpressions";
110 this.lstExpressions.Size = new System.Drawing.Size(392, 116);
111 this.lstExpressions.TabIndex = 2;
112 this.lstExpressions.SelectedIndexChanged += new System.EventHandler(this.lstExpressions_SelectedIndexChanged);
113 //
114 // txtExpression
115 //
116 this.txtExpression.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177)));
117 this.txtExpression.Location = new System.Drawing.Point(17, 55);
118 this.txtExpression.Margin = new System.Windows.Forms.Padding(4);
119 this.txtExpression.Multiline = false;
120 this.txtExpression.Name = "txtExpression";
121 this.txtExpression.Size = new System.Drawing.Size(303, 22);
122 this.txtExpression.TabIndex = 0;
123 this.txtExpression.Text = "";
124 this.txtExpression.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtExpression_KeyPress);
125 this.txtExpression.TextChanged += new System.EventHandler(this.txtExpression_TextChanged);
126 //
127 // label1
128 //
129 this.label1.AutoSize = true;
130 this.label1.Location = new System.Drawing.Point(13, 36);
131 this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
132 this.label1.Name = "label1";
133 this.label1.Size = new System.Drawing.Size(198, 16);
134 this.label1.TabIndex = 2;
135 this.label1.Text = "Hãy điền vào ô trống 1 biểu thức";
136 //
137 // btnAdd
138 //
139 this.btnAdd.Location = new System.Drawing.Point(329, 52);
140 this.btnAdd.Margin = new System.Windows.Forms.Padding(4);
141 this.btnAdd.Name = "btnAdd";
142 this.btnAdd.Size = new System.Drawing.Size(81, 27);
143 this.btnAdd.TabIndex = 1;
144 this.btnAdd.Text = "Thêm";
145 this.btnAdd.UseVisualStyleBackColor = true;
146 this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
147 //
148 // label2
149 //
150 this.label2.AutoSize = true;
151 this.label2.Location = new System.Drawing.Point(13, 93);
152 this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
153 this.label2.Name = "label2";
154 this.label2.Size = new System.Drawing.Size(139, 16);
155 this.label2.TabIndex = 4;
156 this.label2.Text = "Những biểu thức sẽ vẽ";
157 //
158 // btnClear
159 //
160 this.btnClear.Location = new System.Drawing.Point(17, 237);
161 this.btnClear.Margin = new System.Windows.Forms.Padding(4);
162 this.btnClear.Name = "btnClear";
163 this.btnClear.Size = new System.Drawing.Size(135, 27);
164 this.btnClear.TabIndex = 3;
165 this.btnClear.Text = "Xóa danh sách";
166 this.btnClear.UseVisualStyleBackColor = true;
167 this.btnClear.Click += new System.EventHandler(this.btnClear_Click);
168 //
169 // btnRemove
170 //
171 this.btnRemove.Location = new System.Drawing.Point(274, 237);
172 this.btnRemove.Margin = new System.Windows.Forms.Padding(4);
173 this.btnRemove.Name = "btnRemove";
174 this.btnRemove.Size = new System.Drawing.Size(135, 27);
175 this.btnRemove.TabIndex = 4;
176 this.btnRemove.Text = "Xóa biểu thức";
177 this.btnRemove.UseVisualStyleBackColor = true;
178 this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click);
179 //
180 // cmdPlotGraph
181 //
182 this.cmdPlotGraph.Location = new System.Drawing.Point(161, 461);
183 this.cmdPlotGraph.Margin = new System.Windows.Forms.Padding(4);
184 this.cmdPlotGraph.Name = "cmdPlotGraph";
185 this.cmdPlotGraph.Size = new System.Drawing.Size(104, 27);
186 this.cmdPlotGraph.TabIndex = 13;
187 this.cmdPlotGraph.Text = "Vẽ đồ thị";
188 this.cmdPlotGraph.UseVisualStyleBackColor = true;
189 this.cmdPlotGraph.Click += new System.EventHandler(this.cmdPlotGraph_Click);
190 //
191 // label3
192 //
193 this.label3.AutoSize = true;
194 this.label3.Location = new System.Drawing.Point(13, 293);
195 this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
196 this.label3.Name = "label3";
197 this.label3.Size = new System.Drawing.Size(100, 16);
198 this.label3.TabIndex = 8;
199 this.label3.Text = "Điểm đầu trục X";
200 //
201 // startX
202 //
203 this.startX.DecimalPlaces = 2;
204 this.startX.Location = new System.Drawing.Point(118, 288);
205 this.startX.Margin = new System.Windows.Forms.Padding(4);
206 this.startX.Maximum = new decimal(new int[] {
207 1000,
208 0,
209 0,
210 0});
211 this.startX.Minimum = new decimal(new int[] {
212 1000,
213 0,
214 0,
215 -2147483648});
216 this.startX.Name = "startX";
217 this.startX.Size = new System.Drawing.Size(81, 22);
218 this.startX.TabIndex = 5;
219 this.startX.Value = new decimal(new int[] {
220 8,
221 0,
222 0,
223 -2147483648});
224 //
225 // endX
226 //
227 this.endX.DecimalPlaces = 2;
228 this.endX.Location = new System.Drawing.Point(329, 288);
229 this.endX.Margin = new System.Windows.Forms.Padding(4);
230 this.endX.Maximum = new decimal(new int[] {
231 1000,
232 0,
233 0,
234 0});
235 this.endX.Minimum = new decimal(new int[] {
236 1000,
237 0,
238 0,
239 -2147483648});
240 this.endX.Name = "endX";
241 this.endX.Size = new System.Drawing.Size(81, 22);
242 this.endX.TabIndex = 6;
243 this.endX.Value = new decimal(new int[] {
244 8,
245 0,
246 0,
247 0});
248 //
249 // label4
250 //
251 this.label4.AutoSize = true;
252 this.label4.Location = new System.Drawing.Point(217, 293);
253 this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
254 this.label4.Name = "label4";
255 this.label4.Size = new System.Drawing.Size(102, 16);
256 this.label4.TabIndex = 11;
257 this.label4.Text = "Điểm cuối trục X";
258 //
259 // endY
260 //
261 this.endY.DecimalPlaces = 2;
262 this.endY.Location = new System.Drawing.Point(329, 319);
263 this.endY.Margin = new System.Windows.Forms.Padding(4);
264 this.endY.Maximum = new decimal(new int[] {
265 1000,
266 0,
267 0,
268 0});
269 this.endY.Minimum = new decimal(new int[] {
270 1000,
271 0,
272 0,
273 -2147483648});
274 this.endY.Name = "endY";
275 this.endY.Size = new System.Drawing.Size(81, 22);
276 this.endY.TabIndex = 8;
277 this.endY.Value = new decimal(new int[] {
278 8,
279 0,
280 0,
281 0});
282 //
283 // label5
284 //
285 this.label5.AutoSize = true;
286 this.label5.Location = new System.Drawing.Point(217, 324);
287 this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
288 this.label5.Name = "label5";
289 this.label5.Size = new System.Drawing.Size(103, 16);
290 this.label5.TabIndex = 15;
291 this.label5.Text = "Điểm cuối trục Y";
292 //
293 // startY
294 //
295 this.startY.DecimalPlaces = 2;
296 this.startY.Location = new System.Drawing.Point(118, 319);
297 this.startY.Margin = new System.Windows.Forms.Padding(4);
298 this.startY.Maximum = new decimal(new int[] {
299 1000,
300 0,
301 0,
302 0});
303 this.startY.Minimum = new decimal(new int[] {
304 1000,
305 0,
306 0,
307 -2147483648});
308 this.startY.Name = "startY";
309 this.startY.Size = new System.Drawing.Size(81, 22);
310 this.startY.TabIndex = 7;
311 this.startY.Value = new decimal(new int[] {
312 8,
313 0,
314 0,
315 -2147483648});
316 //
317 // label6
318 //
319 this.label6.AutoSize = true;
320 this.label6.Location = new System.Drawing.Point(13, 324);
321 this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
322 this.label6.Name = "label6";
323 this.label6.Size = new System.Drawing.Size(101, 16);
324 this.label6.TabIndex = 13;
325 this.label6.Text = "Điểm đầu trục Y";
326 //
327 // divY
328 //
329 this.divY.Location = new System.Drawing.Point(329, 349);
330 this.divY.Margin = new System.Windows.Forms.Padding(4);
331 this.divY.Maximum = new decimal(new int[] {
332 20,
333 0,
334 0,
335 0});
336 this.divY.Minimum = new decimal(new int[] {
337 2,
338 0,
339 0,
340 0});
341 this.divY.Name = "divY";
342 this.divY.Size = new System.Drawing.Size(81, 22);
343 this.divY.TabIndex = 10;
344 this.divY.Value = new decimal(new int[] {
345 8,
346 0,
347 0,
348 0});
349 //
350 // label7
351 //
352 this.label7.AutoSize = true;
353 this.label7.Location = new System.Drawing.Point(217, 354);
354 this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
355 this.label7.Name = "label7";
356 this.label7.Size = new System.Drawing.Size(74, 16);
357 this.label7.TabIndex = 19;
358 this.label7.Text = "Tỷ lệ trục Y";
359 //
360 // divX
361 //
362 this.divX.Location = new System.Drawing.Point(118, 349);
363 this.divX.Margin = new System.Windows.Forms.Padding(4);
364 this.divX.Maximum = new decimal(new int[] {
365 20,
366 0,
367 0,
368 0});
369 this.divX.Minimum = new decimal(new int[] {
370 2,
371 0,
372 0,
373 0});
374 this.divX.Name = "divX";
375 this.divX.Size = new System.Drawing.Size(81, 22);
376 this.divX.TabIndex = 9;
377 this.divX.Value = new decimal(new int[] {
378 8,
379 0,
380 0,
381 0});
382 //
383 // label8
384 //
385 this.label8.AutoSize = true;
386 this.label8.Location = new System.Drawing.Point(13, 354);
387 this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
388 this.label8.Name = "label8";
389 this.label8.Size = new System.Drawing.Size(73, 16);
390 this.label8.TabIndex = 17;
391 this.label8.Text = "Tỷ lệ trục X";
392 //
393 // label9
394 //
395 this.label9.AutoSize = true;
396 this.label9.Location = new System.Drawing.Point(217, 385);
397 this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
398 this.label9.Name = "label9";
399 this.label9.Size = new System.Drawing.Size(91, 16);
400 this.label9.TabIndex = 21;
401 this.label9.Text = "Độ nhạy polar";
402 //
403 // label10
404 //
405 this.label10.AutoSize = true;
406 this.label10.Location = new System.Drawing.Point(13, 420);
407 this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
408 this.label10.Name = "label10";
409 this.label10.Size = new System.Drawing.Size(51, 16);
410 this.label10.TabIndex = 22;
411 this.label10.Text = "Chế độ";
412 //
413 // sensitivity
414 //
415 this.sensitivity.Enabled = false;
416 this.sensitivity.Increment = new decimal(new int[] {
417 50,
418 0,
419 0,
420 0});
421 this.sensitivity.Location = new System.Drawing.Point(329, 380);
422 this.sensitivity.Margin = new System.Windows.Forms.Padding(4);
423 this.sensitivity.Maximum = new decimal(new int[] {
424 1000,
425 0,
426 0,
427 0});
428 this.sensitivity.Minimum = new decimal(new int[] {
429 50,
430 0,
431 0,
432 0});
433 this.sensitivity.Name = "sensitivity";
434 this.sensitivity.Size = new System.Drawing.Size(81, 22);
435 this.sensitivity.TabIndex = 12;
436 this.sensitivity.Value = new decimal(new int[] {
437 50,
438 0,
439 0,
440 0});
441 //
442 // mode
443 //
444 this.mode.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
445 this.mode.FormattingEnabled = true;
446 this.mode.Items.AddRange(new object[] {
447 "Cartesian",
448 "Polar"});
449 this.mode.Location = new System.Drawing.Point(118, 415);
450 this.mode.Margin = new System.Windows.Forms.Padding(4);
451 this.mode.Name = "mode";
452 this.mode.Size = new System.Drawing.Size(291, 24);
453 this.mode.TabIndex = 11;
454 this.mode.SelectedIndexChanged += new System.EventHandler(this.mode_SelectedIndexChanged);
455 //
456 // penWidth
457 //
458 this.penWidth.Location = new System.Drawing.Point(118, 380);
459 this.penWidth.Margin = new System.Windows.Forms.Padding(4);
460 this.penWidth.Maximum = new decimal(new int[] {
461 5,
462 0,
463 0,
464 0});
465 this.penWidth.Minimum = new decimal(new int[] {
466 1,
467 0,
468 0,
469 0});
470 this.penWidth.Name = "penWidth";
471 this.penWidth.Size = new System.Drawing.Size(81, 22);
472 this.penWidth.TabIndex = 26;
473 this.penWidth.Value = new decimal(new int[] {
474 2,
475 0,
476 0,
477 0});
478 //
479 // label12
480 //
481 this.label12.AutoSize = true;
482 this.label12.Location = new System.Drawing.Point(13, 385);
483 this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
484 this.label12.Name = "label12";
485 this.label12.Size = new System.Drawing.Size(94, 16);
486 this.label12.TabIndex = 27;
487 this.label12.Text = "Bề rộng nét vẽ";
488 //
489 // menuStrip1
490 //
491 this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
492 this.hToolStripMenuItem,
493 this.toánTửToolStripMenuItem,
494 this.thôngTinToolStripMenuItem});
495 this.menuStrip1.Location = new System.Drawing.Point(0, 0);
496 this.menuStrip1.Name = "menuStrip1";
497 this.menuStrip1.Size = new System.Drawing.Size(429, 24);
498 this.menuStrip1.TabIndex = 29;
499 this.menuStrip1.Text = "menuStrip1";
500 //
501 // hToolStripMenuItem
502 //
503 this.hToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
504 this.absToolStripMenuItem,
505 this.sinToolStripMenuItem,
506 this.cosToolStripMenuItem,
507 this.tanToolStripMenuItem,
508 this.secToolStripMenuItem,
509 this.cosecToolStripMenuItem,
510 this.cotToolStripMenuItem,
511 this.arcsinToolStripMenuItem,
512 this.arccosToolStripMenuItem,
513 this.arctanToolStripMenuItem,
514 this.expToolStripMenuItem,
515 this.lnToolStripMenuItem,
516 this.logToolStripMenuItem,
517 this.antilogToolStripMenuItem,
518 this.sqrtToolStripMenuItem,
519 this.sinhToolStripMenuItem,
520 this.coshToolStripMenuItem,
521 this.tanhToolStripMenuItem,
522 this.arcsinhToolStripMenuItem,
523 this.arccoshToolStripMenuItem,
524 this.arctanhToolStripMenuItem});
525 this.hToolStripMenuItem.Name = "hToolStripMenuItem";
526 this.hToolStripMenuItem.Size = new System.Drawing.Size(54, 20);
527 this.hToolStripMenuItem.Text = "Hàm số";
528 //
529 // absToolStripMenuItem
530 //
531 this.absToolStripMenuItem.Name = "absToolStripMenuItem";
532 this.absToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
533 this.absToolStripMenuItem.Text = "abs";
534 this.absToolStripMenuItem.Click += new System.EventHandler(this.absToolStripMenuItem_Click);
535 //
536 // sinToolStripMenuItem
537 //
538 this.sinToolStripMenuItem.Name = "sinToolStripMenuItem";
539 this.sinToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
540 this.sinToolStripMenuItem.Text = "sin";
541 this.sinToolStripMenuItem.Click += new System.EventHandler(this.sinToolStripMenuItem_Click);
542 //
543 // cosToolStripMenuItem
544 //
545 this.cosToolStripMenuItem.Name = "cosToolStripMenuItem";
546 this.cosToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
547 this.cosToolStripMenuItem.Text = "cos";
548 this.cosToolStripMenuItem.Click += new System.EventHandler(this.cosToolStripMenuItem_Click);
549 //
550 // tanToolStripMenuItem
551 //
552 this.tanToolStripMenuItem.Name = "tanToolStripMenuItem";
553 this.tanToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
554 this.tanToolStripMenuItem.Text = "tan";
555 this.tanToolStripMenuItem.Click += new System.EventHandler(this.tanToolStripMenuItem_Click);
556 //
557 // secToolStripMenuItem
558 //
559 this.secToolStripMenuItem.Name = "secToolStripMenuItem";
560 this.secToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
561 this.secToolStripMenuItem.Text = "sec";
562 this.secToolStripMenuItem.Click += new System.EventHandler(this.secToolStripMenuItem_Click);
563 //
564 // cosecToolStripMenuItem
565 //
566 this.cosecToolStripMenuItem.Name = "cosecToolStripMenuItem";
567 this.cosecToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
568 this.cosecToolStripMenuItem.Text = "cosec";
569 this.cosecToolStripMenuItem.Click += new System.EventHandler(this.cosecToolStripMenuItem_Click);
570 //
571 // cotToolStripMenuItem
572 //
573 this.cotToolStripMenuItem.Name = "cotToolStripMenuItem";
574 this.cotToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
575 this.cotToolStripMenuItem.Text = "cot";
576 this.cotToolStripMenuItem.Click += new System.EventHandler(this.cotToolStripMenuItem_Click);
577 //
578 // arcsinToolStripMenuItem
579 //
580 this.arcsinToolStripMenuItem.Name = "arcsinToolStripMenuItem";
581 this.arcsinToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
582 this.arcsinToolStripMenuItem.Text = "arcsin";
583 this.arcsinToolStripMenuItem.Click += new System.EventHandler(this.arcsinToolStripMenuItem_Click);
584 //
585 // arccosToolStripMenuItem
586 //
587 this.arccosToolStripMenuItem.Name = "arccosToolStripMenuItem";
588 this.arccosToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
589 this.arccosToolStripMenuItem.Text = "arccos";
590 this.arccosToolStripMenuItem.Click += new System.EventHandler(this.arccosToolStripMenuItem_Click);
591 //
592 // arctanToolStripMenuItem
593 //
594 this.arctanToolStripMenuItem.Name = "arctanToolStripMenuItem";
595 this.arctanToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
596 this.arctanToolStripMenuItem.Text = "arctan";
597 this.arctanToolStripMenuItem.Click += new System.EventHandler(this.arctanToolStripMenuItem_Click);
598 //
599 // expToolStripMenuItem
600 //
601 this.expToolStripMenuItem.Name = "expToolStripMenuItem";
602 this.expToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
603 this.expToolStripMenuItem.Text = "exp";
604 this.expToolStripMenuItem.Click += new System.EventHandler(this.expToolStripMenuItem_Click);
605 //
606 // lnToolStripMenuItem
607 //
608 this.lnToolStripMenuItem.Name = "lnToolStripMenuItem";
609 this.lnToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
610 this.lnToolStripMenuItem.Text = "ln";
611 this.lnToolStripMenuItem.Click += new System.EventHandler(this.lnToolStripMenuItem_Click);
612 //
613 // logToolStripMenuItem
614 //
615 this.logToolStripMenuItem.Name = "logToolStripMenuItem";
616 this.logToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
617 this.logToolStripMenuItem.Text = "log";
618 this.logToolStripMenuItem.Click += new System.EventHandler(this.logToolStripMenuItem_Click);
619 //
620 // antilogToolStripMenuItem
621 //
622 this.antilogToolStripMenuItem.Name = "antilogToolStripMenuItem";
623 this.antilogToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
624 this.antilogToolStripMenuItem.Text = "antilog";
625 this.antilogToolStripMenuItem.Click += new System.EventHandler(this.antilogToolStripMenuItem_Click);
626 //
627 // sqrtToolStripMenuItem
628 //
629 this.sqrtToolStripMenuItem.Name = "sqrtToolStripMenuItem";
630 this.sqrtToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
631 this.sqrtToolStripMenuItem.Text = "sqrt";
632 this.sqrtToolStripMenuItem.Click += new System.EventHandler(this.sqrtToolStripMenuItem_Click);
633 //
634 // sinhToolStripMenuItem
635 //
636 this.sinhToolStripMenuItem.Name = "sinhToolStripMenuItem";
637 this.sinhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
638 this.sinhToolStripMenuItem.Text = "sinh";
639 this.sinhToolStripMenuItem.Click += new System.EventHandler(this.sinhToolStripMenuItem_Click);
640 //
641 // coshToolStripMenuItem
642 //
643 this.coshToolStripMenuItem.Name = "coshToolStripMenuItem";
644 this.coshToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
645 this.coshToolStripMenuItem.Text = "cosh";
646 this.coshToolStripMenuItem.Click += new System.EventHandler(this.coshToolStripMenuItem_Click);
647 //
648 // tanhToolStripMenuItem
649 //
650 this.tanhToolStripMenuItem.Name = "tanhToolStripMenuItem";
651 this.tanhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
652 this.tanhToolStripMenuItem.Text = "tanh";
653 this.tanhToolStripMenuItem.Click += new System.EventHandler(this.tanhToolStripMenuItem_Click);
654 //
655 // arcsinhToolStripMenuItem
656 //
657 this.arcsinhToolStripMenuItem.Name = "arcsinhToolStripMenuItem";
658 this.arcsinhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
659 this.arcsinhToolStripMenuItem.Text = "arcsinh";
660 this.arcsinhToolStripMenuItem.Click += new System.EventHandler(this.arcsinhToolStripMenuItem_Click);
661 //
662 // arccoshToolStripMenuItem
663 //
664 this.arccoshToolStripMenuItem.Name = "arccoshToolStripMenuItem";
665 this.arccoshToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
666 this.arccoshToolStripMenuItem.Text = "arccosh";
667 this.arccoshToolStripMenuItem.Click += new System.EventHandler(this.arccoshToolStripMenuItem_Click);
668 //
669 // arctanhToolStripMenuItem
670 //
671 this.arctanhToolStripMenuItem.Name = "arctanhToolStripMenuItem";
672 this.arctanhToolStripMenuItem.Size = new System.Drawing.Size(122, 22);
673 this.arctanhToolStripMenuItem.Text = "arctanh";
674 this.arctanhToolStripMenuItem.Click += new System.EventHandler(this.arctanhToolStripMenuItem_Click);
675 //
676 // toánTửToolStripMenuItem
677 //
678 this.toánTửToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
679 this.toolStripMenuItem2,
680 this.toolStripMenuItem3,
681 this.toolStripMenuItem4,
682 this.toolStripMenuItem5,
683 this.toolStripMenuItem6,
684 this.toolStripMenuItem7,
685 this.toolStripMenuItem8});
686 this.toánTửToolStripMenuItem.Name = "toánTửToolStripMenuItem";
687 this.toánTửToolStripMenuItem.Size = new System.Drawing.Size(57, 20);
688 this.toánTửToolStripMenuItem.Text = "Toán tử";
689 //
690 // toolStripMenuItem2
691 //
692 this.toolStripMenuItem2.Name = "toolStripMenuItem2";
693 this.toolStripMenuItem2.Size = new System.Drawing.Size(93, 22);
694 this.toolStripMenuItem2.Text = "+";
695 this.toolStripMenuItem2.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
696 //
697 // toolStripMenuItem3
698 //
699 this.toolStripMenuItem3.Name = "toolStripMenuItem3";
700 this.toolStripMenuItem3.Size = new System.Drawing.Size(93, 22);
701 this.toolStripMenuItem3.Text = "--";
702 this.toolStripMenuItem3.Click += new System.EventHandler(this.toolStripMenuItem3_Click);
703 //
704 // toolStripMenuItem4
705 //
706 this.toolStripMenuItem4.Name = "toolStripMenuItem4";
707 this.toolStripMenuItem4.Size = new System.Drawing.Size(93, 22);
708 this.toolStripMenuItem4.Text = "*";
709 this.toolStripMenuItem4.Click += new System.EventHandler(this.toolStripMenuItem4_Click);
710 //
711 // toolStripMenuItem5
712 //
713 this.toolStripMenuItem5.Name = "toolStripMenuItem5";
714 this.toolStripMenuItem5.Size = new System.Drawing.Size(93, 22);
715 this.toolStripMenuItem5.Text = "/";
716 this.toolStripMenuItem5.Click += new System.EventHandler(this.toolStripMenuItem5_Click);
717 //
718 // toolStripMenuItem6
719 //
720 this.toolStripMenuItem6.Name = "toolStripMenuItem6";
721 this.toolStripMenuItem6.Size = new System.Drawing.Size(93, 22);
722 this.toolStripMenuItem6.Text = "^";
723 this.toolStripMenuItem6.Click += new System.EventHandler(this.toolStripMenuItem6_Click);
724 //
725 // toolStripMenuItem7
726 //
727 this.toolStripMenuItem7.Name = "toolStripMenuItem7";
728 this.toolStripMenuItem7.Size = new System.Drawing.Size(93, 22);
729 this.toolStripMenuItem7.Text = "(";
730 this.toolStripMenuItem7.Click += new System.EventHandler(this.toolStripMenuItem7_Click);
731 //
732 // toolStripMenuItem8
733 //
734 this.toolStripMenuItem8.Name = "toolStripMenuItem8";
735 this.toolStripMenuItem8.Size = new System.Drawing.Size(93, 22);
736 this.toolStripMenuItem8.Text = ")";
737 this.toolStripMenuItem8.Click += new System.EventHandler(this.toolStripMenuItem8_Click);
738 //
739 // thôngTinToolStripMenuItem
740 //
741 this.thôngTinToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
742 this.tácGiảToolStripMenuItem});
743 this.thôngTinToolStripMenuItem.Name = "thôngTinToolStripMenuItem";
744 this.thôngTinToolStripMenuItem.Size = new System.Drawing.Size(64, 20);
745 this.thôngTinToolStripMenuItem.Text = "Thông tin";
746 //
747 // tácGiảToolStripMenuItem
748 //
749 this.tácGiảToolStripMenuItem.Name = "tácGiảToolStripMenuItem";
750 this.tácGiảToolStripMenuItem.Size = new System.Drawing.Size(119, 22);
751 this.tácGiảToolStripMenuItem.Text = "Tác giả";
752 this.tácGiảToolStripMenuItem.Click += new System.EventHandler(this.tácGiảToolStripMenuItem_Click);
753 //
754 // Main
755 //
756 this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
757 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
758 this.ClientSize = new System.Drawing.Size(429, 501);
759 this.Controls.Add(this.penWidth);
760 this.Controls.Add(this.label12);
761 this.Controls.Add(this.mode);
762 this.Controls.Add(this.sensitivity);
763 this.Controls.Add(this.label10);
764 this.Controls.Add(this.label9);
765 this.Controls.Add(this.divY);
766 this.Controls.Add(this.label7);
767 this.Controls.Add(this.divX);
768 this.Controls.Add(this.label8);
769 this.Controls.Add(this.endY);
770 this.Controls.Add(this.label5);
771 this.Controls.Add(this.startY);
772 this.Controls.Add(this.label6);
773 this.Controls.Add(this.endX);
774 this.Controls.Add(this.label4);
775 this.Controls.Add(this.startX);
776 this.Controls.Add(this.label3);
777 this.Controls.Add(this.cmdPlotGraph);
778 this.Controls.Add(this.btnRemove);
779 this.Controls.Add(this.btnClear);
780 this.Controls.Add(this.label2);
781 this.Controls.Add(this.btnAdd);
782 this.Controls.Add(this.label1);
783 this.Controls.Add(this.txtExpression);
784 this.Controls.Add(this.lstExpressions);
785 this.Controls.Add(this.menuStrip1);
786 this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
787 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
788 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
789 this.MainMenuStrip = this.menuStrip1;
790 this.Margin = new System.Windows.Forms.Padding(4);
791 this.MaximizeBox = false;
792 this.Name = "Main";
793 this.Text = "VietGraph 1.2";
794 this.Load += new System.EventHandler(this.Form1_Load);
795 ((System.ComponentModel.ISupportInitialize)(this.startX)).EndInit();
796 ((System.ComponentModel.ISupportInitialize)(this.endX)).EndInit();
797 ((System.ComponentModel.ISupportInitialize)(this.endY)).EndInit();
798 ((System.ComponentModel.ISupportInitialize)(this.startY)).EndInit();
799 ((System.ComponentModel.ISupportInitialize)(this.divY)).EndInit();
800 ((System.ComponentModel.ISupportInitialize)(this.divX)).EndInit();
801 ((System.ComponentModel.ISupportInitialize)(this.sensitivity)).EndInit();
802 ((System.ComponentModel.ISupportInitialize)(this.penWidth)).EndInit();
803 this.menuStrip1.ResumeLayout(false);
804 this.menuStrip1.PerformLayout();
805 this.ResumeLayout(false);
806 this.PerformLayout();
807
808 }
809
810 #endregion
811
812 public System.Windows.Forms.ListBox lstExpressions;
813 private System.Windows.Forms.RichTextBox txtExpression;
814 private System.Windows.Forms.Label label1;
815 private System.Windows.Forms.Button btnAdd;
816 private System.Windows.Forms.Label label2;
817 private System.Windows.Forms.Button btnClear;
818 private System.Windows.Forms.Button btnRemove;
819 private System.Windows.Forms.Button cmdPlotGraph;
820 private System.Windows.Forms.Label label3;
821 private System.Windows.Forms.NumericUpDown startX;
822 private System.Windows.Forms.NumericUpDown endX;
823 private System.Windows.Forms.Label label4;
824 private System.Windows.Forms.NumericUpDown endY;
825 private System.Windows.Forms.Label label5;
826 private System.Windows.Forms.NumericUpDown startY;
827 private System.Windows.Forms.Label label6;
828 private System.Windows.Forms.NumericUpDown divY;
829 private System.Windows.Forms.Label label7;
830 private System.Windows.Forms.NumericUpDown divX;
831 private System.Windows.Forms.Label label8;
832 private System.Windows.Forms.Label label9;
833 private System.Windows.Forms.Label label10;
834 private System.Windows.Forms.NumericUpDown sensitivity;
835 private System.Windows.Forms.ComboBox mode;
836 private System.Windows.Forms.NumericUpDown penWidth;
837 private System.Windows.Forms.Label label12;
838 private System.Windows.Forms.MenuStrip menuStrip1;
839 private System.Windows.Forms.ToolStripMenuItem hToolStripMenuItem;
840 private System.Windows.Forms.ToolStripMenuItem toánTửToolStripMenuItem;
841 private System.Windows.Forms.ToolStripMenuItem absToolStripMenuItem;
842 private System.Windows.Forms.ToolStripMenuItem sinToolStripMenuItem;
843 private System.Windows.Forms.ToolStripMenuItem cosToolStripMenuItem;
844 private System.Windows.Forms.ToolStripMenuItem tanToolStripMenuItem;
845 private System.Windows.Forms.ToolStripMenuItem secToolStripMenuItem;
846 private System.Windows.Forms.ToolStripMenuItem cosecToolStripMenuItem;
847 private System.Windows.Forms.ToolStripMenuItem cotToolStripMenuItem;
848 private System.Windows.Forms.ToolStripMenuItem arcsinToolStripMenuItem;
849 private System.Windows.Forms.ToolStripMenuItem arccosToolStripMenuItem;
850 private System.Windows.Forms.ToolStripMenuItem arctanToolStripMenuItem;
851 private System.Windows.Forms.ToolStripMenuItem expToolStripMenuItem;
852 private System.Windows.Forms.ToolStripMenuItem lnToolStripMenuItem;
853 private System.Windows.Forms.ToolStripMenuItem logToolStripMenuItem;
854 private System.Windows.Forms.ToolStripMenuItem antilogToolStripMenuItem;
855 private System.Windows.Forms.ToolStripMenuItem sqrtToolStripMenuItem;
856 private System.Windows.Forms.ToolStripMenuItem sinhToolStripMenuItem;
857 private System.Windows.Forms.ToolStripMenuItem coshToolStripMenuItem;
858 private System.Windows.Forms.ToolStripMenuItem tanhToolStripMenuItem;
859 private System.Windows.Forms.ToolStripMenuItem arcsinhToolStripMenuItem;
860 private System.Windows.Forms.ToolStripMenuItem arccoshToolStripMenuItem;
861 private System.Windows.Forms.ToolStripMenuItem arctanhToolStripMenuItem;
862 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
863 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
864 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4;
865 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5;
866 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem6;
867 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem7;
868 private System.Windows.Forms.ToolStripMenuItem thôngTinToolStripMenuItem;
869 private System.Windows.Forms.ToolStripMenuItem tácGiảToolStripMenuItem;
870 private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem8;
871
872 }
873 }